package com.service.lotterySystem.task;

import com.service.lotterySystem.dao.UserInfoDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author ：hjl
 * @date ：Created in 2022/01/13 16:33
 * @description：
 */
@Component
@Async
@Slf4j
public class ScheduleTask {
    @Resource
    private UserInfoDao userInfoDao;
    @Scheduled(cron = "0 0 */1 * * ?")
    public void getLoginUserDispose() throws Exception {

    }
}
